/******************************************************************************
 * Copyright (C), 2014, BeeIoT Tech. Co., Ltd. 
 * FileName:        at_base.c
 * Author:          lvxin 
 * Version :        1.0
 * Date:            2014-10-22 10:51:06
 * Description:     定义底层输入输出接口
 * Function List:   1. -------
 * History:
 * <author>     <time>                <version >  <desc> 
 * lvxin        2014-10-22 10:51:06   1.0         build this moudle 
 *****************************************************************************/

/******************************************************************************
 *  *INCLUDES
 *  */
#include <stdio.h>
#include <stdlib.h>
#include "at_base.h"


/******************************************************************************
 *  *PUBLIC FUNCTIONS
 *  */


/******************************************************************************
 * Function:        at_base_putchar()
 * Description:     输出字符到终端
 * Calls:            
 * Called By:        
 * Input:           ch --字符
 * Return:          
 * Others:           
 *****************************************************************************/
void at_base_putchar (char ch)
{
    fprintf(stdout, "%c", ch);
    fflush(stdout);
    return;
}

/******************************************************************************
 * Function:        at_base_putstring()
 * Description:     输出字符串到终端
 * Calls:            
 * Called By:        
 * Input:           string --字符串
 * Return:          
 * Others:           
 *****************************************************************************/
void at_base_putstring (char* string)
{
    fprintf(stdout, "%s", string);
    fflush(stdout);
    return;
}

/*void at_base_printf (__const char *__restrict __fmt, ...)*/
/*{*/
    /*printf(__fmt, ...);*/
/*}*/

